<td>
  {{~#unless expandPinned}}
  <div class='pull-left'>
    <a href="{{topic.lastPostUrl}}">{{avatar topic.lastPoster imageSize="large"}}</a>
  </div>
  <div class='right'>
  {{else}}
  <div>
  {{/unless~}}
    <div class='main-link'>
      {{raw "topic-status" topic=topic}}
      {{topic-link topic}}
      {{#if topic.featured_link}}
        {{topic-featured-link topic}}
      {{/if}}
      {{#if topic.unseen}}
        <span class="badge-notification new-topic"></span>
      {{/if}}
      {{~#if expandPinned}}
      {{raw "list/topic-excerpt" topic=topic}}
      {{/if~}}
    </div>

    <div class='pull-right'>
      {{raw "list/post-count-or-badges" topic=topic postBadgesEnabled=showTopicPostBadges}}
    </div>

    <div class="topic-item-stats clearfix">
      {{#unless hideCategory}}
        <div class='category'>
          {{category-link topic.category}}
        </div>
      {{/unless}}

      {{#if topic.tags}}
        <div class='discourse-tags'>
        {{#each topic.visibleListTags as |tag|}}
          {{discourse-tag tag}}
        {{/each}}
        </div>
      {{/if}}

      {{raw-plugin-outlet name="topic-list-tags"}}

      <div class="pull-right">
        <div class='num activity last'>
          <span class="age activity" title="{{topic.bumpedAtTitle}}"><a href="{{topic.lastPostUrl}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a></span>
        </div>
      </div>

      <div class="clearfix"></div>
    </div>
  </div>
</td>
